Skip to content

chore(deps): Bump org.robolectric:robolectric from 4.14.1 to 4.16.1#34

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/gradle/org.robolectric-robolectric-4.16.1
Closed

chore(deps): Bump org.robolectric:robolectric from 4.14.1 to 4.16.1#34
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/gradle/org.robolectric-robolectric-4.16.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 20, 2026

Bumps org.robolectric:robolectric from 4.14.1 to 4.16.1.

Release notes

Sourced from org.robolectric:robolectric's releases.

Robolectric 4.16.1 is a minor release that fixes some issues when Robolectric is used for Android Platform development. Most notably, it is updated to support the deletion of FingerprintManager in the Android Framework, as well as some improvements to the VirtualDeviceManager shadow.

Full Changelog: robolectric/robolectric@robolectric-4.16...robolectric-4.16.1

Robolectric 4.16 supports Android Baklava (SDK 36), and you need to use JDK 21 if running tests with SDK 36 target. It also removes support for Android L (SDK 21 and 22).

One exciting new feature is native resources (ResourcesMode.NATIVE). Note this is currently only available in SDK 36.

If you have any issues, please file them here.

What's Changed

... (truncated)

Commits
  • 524ea8e Bump version to 4.16.1.
  • 54fd1ee Implement ResTable support for shared libraries
  • 1e35e63 When a top-level exception occurs in the Simulator, print the stack trace and...
  • e2c046f Added custom ThreadFactory to name threads in LocalUIController
  • 7f3165a Add newly required --add-exports arguments to test tasks
  • db54b4b Add VirtualDeviceParamsBuilder to support creating new virtual devices.
  • b73adc3 Implement shadow behavior for VirtualDeviceManager#registerVirtualDeviceListener
  • 1e05fde Create shadow for VirtualDeviceManager$VirtualDevice#createVirtualCamera
  • d160747 Future proof ShadowFingerprintManagerTest.
  • d7a0438 Add maxSdk for ShadowFingerprintManager.
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Apr 20, 2026
Bumps [org.robolectric:robolectric](https://github.com/robolectric/robolectric) from 4.14.1 to 4.16.1.
- [Release notes](https://github.com/robolectric/robolectric/releases)
- [Commits](robolectric/robolectric@robolectric-4.14.1...robolectric-4.16.1)

---
updated-dependencies:
- dependency-name: org.robolectric:robolectric
  dependency-version: 4.16.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/gradle/org.robolectric-robolectric-4.16.1 branch from 07b7427 to 6aa4a36 Compare April 25, 2026 15:55
@momentmaker
Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 25, 2026

Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

momentmaker added a commit that referenced this pull request Apr 25, 2026
…rderTest (#47)

The `second start returns ConcurrentRecording without touching first`
test was racing on slow CI runners: the cleanup `recorder.stop()`
sometimes ran before the capture loop wrote its first buffer, so stop
returned `EmptyRecording` and the assertion's `.getOrThrow()` blew up.
Mirror the pattern from sibling tests by inserting
`waitForCaptureProgress()` between the second-start assertion and the
final stop.

Surfaced as the flaky failure on dependabot PRs #31 (Hilt 1.2→1.3) and
#34 (Robolectric 4.14→4.16). Both runs were unrelated to the test —
their CI runners just happened to schedule the capture thread late.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
momentmaker added a commit that referenced this pull request Apr 25, 2026
…sts (#48)

Robolectric 4.16 fixed its `MediaStore` shadow so inserts and
`openFileDescriptor` now succeed against the default `media`
provider. Two negative-path tests had been written against 4.14's
broken shadow as a way to exercise the saver's "save failed"
branch — under 4.16 those tests now see Success and fail.

EtegamiGallerySaverTest: register a `NullInsertProvider` for the
`media` authority via `ShadowContentResolver.registerProviderInternal`
to force `resolver.insert` to return null. Mirrors the real-device
failure mode (e.g., out-of-disk, locked storage volume) where the
system MediaProvider rejects the row, and lets us assert
`SaveResult.Failed` strictly without depending on a Robolectric
implementation bug.

WalkSummaryViewModelTest: drop `saveEtegamiToGallery emits SaveFailed
under Robolectric MediaStore`. It tested the same negative path one
layer up, and the VM's `Failed → SaveFailed` mapping is a one-line
`when` arm covered structurally; not worth a separate VM-level
fake-saver injection seam to keep this redundant test alive.

Closes #34.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 25, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/gradle/org.robolectric-robolectric-4.16.1 branch April 25, 2026 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant